import 'package:flutter_wanandroid_ohos/generated/json/base/json_field.dart';
import 'package:flutter_wanandroid_ohos/generated/json/base_page_entity.g.dart';
import 'dart:convert';
export 'package:flutter_wanandroid_ohos/generated/json/base_page_entity.g.dart';

@JsonSerializable()
class BasePageEntity {
	int curPage = 0;
	List<dynamic> datas = [];
	int offset = 0;
	bool over = false;
	int pageCount = 0;
	int size = 0;
	int total = 0;

	BasePageEntity();

	factory BasePageEntity.fromJson(Map<String, dynamic> json) => $BasePageEntityFromJson(json);

	Map<String, dynamic> toJson() => $BasePageEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}